Rod = Widget.extend({
	ctor:function(){
		this._super();
		this.init();
		this.stir();
		this.setTag(TAG_ROD_ALL);
	},
	init:function(){
		this.body = new Button(this, 10, TAG_ROD, "#rod.png", this.callback,this);
		this.body.setAnchorPoint(cc.p(0.5, 0.85));
	},
	stir:function(){
		var func=cc.callFunc(function() {
			gg.flow.next();
		}, this);
		var move=cc.moveBy(0.3,cc.p(10, -6));
		var move1=cc.moveBy(0.3,cc.p(-10, -6));
		var move2=cc.moveBy(0.3,cc.p(-10, 6));
		var move3=cc.moveBy(0.3,cc.p(10, 6));
		this.body.runAction(cc.sequence(cc.sequence(move,move1,move2,move3).repeat(5),cc.callFunc(function() {
			this.body.setVisible(false);
		},this),func));
	}
});